<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/include/TLDInclude.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>

<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/select-ui.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});
  
  
  $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
  
});


</script>


</head>


<body>

    
    <div class="rightinfo">
    
    <div class="tools">
    
    	<ul class="seachform">
      

 <form:form action="${ctx}/node/findItem" method="post" >
 

  <li><label>来源网站:</label>
<div class="cityleft">
    <select class="select2" name="webCode">
    
     <option <c:if test= "${webCode eq 'HG'}">
                                                       selected="selected"
                                                 </c:if>
     value="HG" >皇冠</option>
    
    
    </select>
    </div>
</li>  
    <li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
    </form:form>
        </ul>
        
    
    </div>
    
    
    <table class="tablelist">
    
    
    	<thead>
    	<tr>
        
        <th>编号</th>
        <th>节点名称</th>
        <th>来源名称</th>
        <th>总帐号数据</th>
        <th>已登录帐号数据</th>
        <th>管理</th>
        </tr>
        </thead>
        
        
        <tbody>
        
         <c:forEach items= "${websnatchifos}" var="websnatchifo"  varStatus="status">
	        <tr>
	        <td>${status.index + 1}</td>
	        <td>${websnatchifo.onlyCode}</td>
	         <td>${websnatchifo.webName}</td>
	        <td>${websnatchifo.sumAccount}</td>
	        
	        <td>${websnatchifo.loginAccounts.size()}</td>
	        <td>
	         <c:if test="${websnatchifo.valid eq 0}">
				<a href="#"   class="a_flag_y" title="失效">已失效</a>
				</c:if>	
				
				<c:if test="${websnatchifo.valid eq 1}">
				<a href="${ctx}/node/start?nodeCode=${websnatchifo.onlyCode}&webCode=${websnatchifo.webCode}"   class="a_flag_y" title="登录">登录</a>
				</c:if>		
				<c:if test="${websnatchifo.valid eq 2}">
				<a href="${ctx}/node/start?nodeCode=${websnatchifo.onlyCode}&webCode=${websnatchifo.webCode}"   class="a_flag_y" title="退出">退出</a>
				</c:if>							
	        </tr> 
         </c:forEach>
        </tbody>
    </table>
    
    
    
    
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="../images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
    
    
    
    </div>
    
   
</body>

</html>
